package cn.hznc.controller.service.exceltemplate;

import cn.hznc.utils.CommonUtil;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletResponse;

/**
 * @Author：Administrator
 * @Date：2024/2/28 17:24
 */
@Service
public class ExportExcelTemplateService{


    public void exportICabinetStockTemplate(HttpServletResponse response) {
        String outputFileName = "智能柜库存";
        CommonUtil.exportExcelFile(new Object() , "/template\\inventoryLocation\\智能柜库存.xlsx" , response , outputFileName);
    }

    public void exportFirstCabinetStockTemplate(HttpServletResponse response) {
        String outputFileName = "一级库库存";
        CommonUtil.exportExcelFile(new Object() , "/template\\inventoryLocation\\一级库库存.xlsx" , response , outputFileName);
    }
}
